package model;
import java.io.Serializable;
public class Student implements Serializable, ObjectImplement{
	private int age;
	private String id,name,sex,homeTown;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getHomeTown() {
		return homeTown;
	}
	public void setHomeTown(String homeTown) {
		this.homeTown = homeTown;
	}
	public Student() {
		super();
	}
	public Student(String id, int age, String name, String sex, String homeTown) {
		super();
		this.id = id;
		this.age = age;
		this.name = name;
		this.sex = sex;
		this.homeTown = homeTown;
	}
        public Object[] list() {
            return new Object[]{id, name, age, sex, homeTown };       
        }
}
 